package com.eco.fanliapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户操作日志
 */
@Getter
@Setter
@Data
@TableName("sy_admin_login_ip")//@TableName中的值对应着表名
public class SyAdminLoginIp implements Serializable {
    private static final long serialVersionUID = 1L;
    //主键id
    @TableId(type = IdType.AUTO)
    private Long tableId;

    private String ip;

    private Integer companyId;

    private Integer enable;

    private Integer deleted;

    //创建时间
    private Date createTime;

    //更新时间
    private Date updateTime;

    private String description;

    @TableField(exist=false)
    private String companyName;

    @TableField(exist=false)
    private Integer inCompanyId;

}